![]() |
PATH![]() |
![]() ![]() |
Reports whether a given menu or menu item is enabled.
pascal Boolean IsMenuItemEnabled (
MenuHandle menu,
UInt16 item);
Your application can use the IsMenuItemEnabled function to determine whether specific menu items, even those with item numbers greater than 31, are currently enabled and can therefore be selected by the user.
The
IsMenuItemEnabled
function works for items enabled or disabled with either the Mac OS 8.5 Menu Manager functions
EnableMenuItem
and
DisableMenuItem
or with the pre-Mac OS 8.5 Menu Manager functions
EnableItem
and
DisableItem
.